package com.ruoyi.project.lease.car.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 车辆管理对象 sys_car
 * 
 * @author admin
 * @date 2021-12-31
 */
public class Car extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆编号 */
    private Long carId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carLisenseNum;

    /** 车辆型号 */
    private String carModel;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String carColor;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private Integer carStatus;

    /** 删除标志 */
    private Integer delFlag;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private Long custNo;

    /** 车辆价格 */
    @Excel(name = "车辆价格")
    private BigDecimal carPrice;

    /** 租车次数 */
    @Excel(name = "租车次数")
    private Long carCount;

    public void setCarId(Long carId)
    {
        this.carId = carId;
    }

    public Long getCarId()
    {
        return carId;
    }
    public void setCarLisenseNum(String carLisenseNum)
    {
        this.carLisenseNum = carLisenseNum;
    }

    public String getCarLisenseNum()
    {
        return carLisenseNum;
    }
    public void setCarModel(String carModel)
    {
        this.carModel = carModel;
    }

    public String getCarModel()
    {
        return carModel;
    }
    public void setCarColor(String carColor)
    {
        this.carColor = carColor;
    }

    public String getCarColor()
    {
        return carColor;
    }
    public void setCarStatus(Integer carStatus)
    {
        this.carStatus = carStatus;
    }

    public Integer getCarStatus()
    {
        return carStatus;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }
    public void setCustNo(Long custNo)
    {
        this.custNo = custNo;
    }

    public Long getCustNo()
    {
        return custNo;
    }
    public void setCarPrice(BigDecimal carPrice)
    {
        this.carPrice = carPrice;
    }

    public BigDecimal getCarPrice()
    {
        return carPrice;
    }
    public void setCarCount(Long carCount)
    {
        this.carCount = carCount;
    }

    public Long getCarCount()
    {
        return carCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carLisenseNum", getCarLisenseNum())
            .append("carModel", getCarModel())
            .append("carColor", getCarColor())
            .append("carStatus", getCarStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("custNo", getCustNo())
            .append("carPrice", getCarPrice())
            .append("carCount", getCarCount())
            .toString();
    }
}
